package com.java83.service;

import com.java83.dto.impl.OneDto;
import com.java83.entity.Leaving;
import com.java83.entity.LeavingReson;

import java.util.List;

/**
 * @author 张健聪
 * @program java-83-group-5-hou
 * @description 离职的service层
 * @date 2021-12-14 14:28
 **/
public interface LeavingResonService {

    int add(LeavingReson leavingReson);

    List<LeavingReson> findAll(LeavingReson leavingReson);

    int delete(int id);

    int update(LeavingReson leavingReson);
}
